package net.zjitc.mapper;

import net.zjitc.pojo.Product;
import net.zjitc.vo.ProductVo;

import java.util.List;

/**
 * @AUTHOR zhj
 * @DATE 2019/3/29 12:30
 */
public interface ProductMapper {
    List<Product> findAll();
    Product findById(String id);
    int addProduct(Product product);
    int editProduct(Product product);
    int deleteProduct(String id);

    List<Product> searchByCondition(ProductVo productVo);
}
